{:W('Nav',array('name'=>'添加节点'))}
<div class="main-div">
    <form action="runAddNode" method="post" name="theForm" enctype="multipart/form-data">
        <table width="100%" id="general-table">
            <tr>
                <input type='hidden' name='pid' value='{$info.pid}' />
                <input type='hidden' name='level' value='{$info.level}' />
                <if condition="$info.id ">
                    <input type='hidden' name='id' value='{$info.id}' />
                </if>

                <td class="label">{$label}名称:</td>
                <td>
                    <input type='text' name='name' maxlength="20" value='{$info.name}' size='27'/> <font color="red">*</font>
                </td>
            </tr>
            <tr>
                <td class="label">{$label}描述:</td>
                <td>
                    <input type='text' name='title' maxlength="20" value='{$info.title}' size='27'/> <font color="red">*</font>
                </td>
            </tr>
            <tr>
                <td class="label">是否开启:</td>
                <td>
                    <if condition="$info.status ">
                        <input type="radio" name="status" value="1" checked>是
                        <input type="radio" name="status" value="0" >否
                        <else/>
                        <input type="radio" name="status" value="1" >是
                        <input type="radio" name="status" value="0" checked>否
                    </if>
                </td>
            </tr>
        </table>
        <div class="button-div">
            <input type="submit" value=" 确定 "/>
            <input type="reset" value=" 重置 "/>
        </div>
    </form>
</div>
</body>
</html>